<div id="viewer-container"></div>
<script>
  CTS.ready(() => {
    let viewer = new CTS.Viewer('viewer-container') //初始化场景
    let lights = new CTS.Lights(viewer)
    let ambientLight = lights.addAmbientLight([0, 20, -200])
    ambientLight.setOption({
      intensity: 2
    })
    viewer.camera.position.set(13, 13, 13) //设置相机位置
    let modeloader = new CTS.ModelLoder(viewer)
    modeloader.loadModelToScene('resources/model/factory.glb')
  })
</script>
